Use this function to generate any number-of-repeats of a symbol-pattern. This is an alternative to gen-loop when the symbol-pattern is extensive. Useful in combination with randomizer to create variations and mutations.
(setq mel '(a eee c (1 e) d e))
(setq var (gen-random-variate 0.9 0.05 -1 1 (gen-repeat 3 mel)))
--> (a eee c (1 e) d e a eee c (1 e) e f b fff c (1 e) d f)
(gen-repeat 3 '(1/2))
--> (1/2 1/2 1/2)
gen-repeat is useful when constructiong zones that equal the number of tonalities defined earlier. En example of this is on gen-tonality definition.